package service.user;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.common.BaseMapper;
import com.common.BaseService;

import mapper.user.orderMapper;
import mapper.user.withdrawcashMapper;
import mapper.user.xhMapper;
import mapper.user.xhlogMapper;

@Service
@Transactional
public class WithdrawcashServiceImpl<T> extends BaseService<T>{

	@Autowired
	private withdrawcashMapper<T> _withdrawcashMapper;

	@Override
	public BaseMapper<T> getMapper() {
		return _withdrawcashMapper;
	}

	public void updateCurrentMoney(String openid, Double currentmoney) {
		_withdrawcashMapper.updateCurrentMoney(openid,currentmoney);
	}
}